﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddScreenUserControl.ascx.cs" Inherits="MBS.UserControls.ScreenUserControl.AddScreenUserControl" %>
<%@ Register src="../CinemaUserControl/CinemaList.ascx" tagname="CinemaList" tagprefix="uc1" %>

<style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
<p>
<table class="style1">

     <uc1:CinemaList ID="CinemaList1" runat="server" />
    <tr>
        <td width ="20%">
            <asp:Label ID="Label1"  runat="server" Text="ScreenNumber" CssClass="label"></asp:Label>
        </td>
        <td width ="80%">
            <asp:TextBox ID="TextBox1" runat="server" CssClass="textbox"></asp:TextBox>
            <asp:RequiredFieldValidator  ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage='Input ScreenNumber!' Text='*' ControlToValidate="TextBox1"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Label ID="Label3"  runat="server" Text="NumberofSeats" CssClass="label"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="TextBox3" runat="server" ReadOnly="True" CssClass="textbox">40</asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
           
        </td>
        <td>
         <asp:Button ID="Button1" runat="server" Text="AddScreen" 
                onclick="Button1_Click" CssClass="button"/>
            <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Clear" CssClass="button"/>
        </td>
    </tr>
</table>
</p>
